<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
      	<script type="text/javascript" src="js/layer/layer.js"></script>
        <script type="text/javascript" src="index2.js"></script>
        <link rel="stylesheet" href="css/bootstrap.min.css">
		<link rel="stylesheet" href="css/style2.css"> 
		<title>鑫三强智能消费系统</title>
	</head>
	<body class="index_bg">
		<div class="index_body">
			<div class="ib_left_part">
				<h3>鑫三强<br />采集通讯终端</h3>
				<a href="javascript:toSysSet();" class="btn_sys set"><i></i>系统设置</a>
				<a href="javascript:toConsume();" class="btn_sys manage"><i></i>消费管理</a>
			</div>
			<div class="ib_right_part">
				<div class="ib_rp_table">
					<table border="0">
						<tbody>
							<tr>
								<td width="30%"><span>刷卡用户</span></td>
								<td width="20%"><span id="curUsername"></span></td>
								<td width="30%"><span>账户余额（元)</span></td>
								<td width="20%"><span id="curMoney"></span></</td>
							</tr>
							<tr>
								<td>消费金额（元）</td>
								<td><span id="costMoney"></span></td>
								<td>消费后金额（元）</td>
								<td><span id="remainMoney"></span></td>
							</tr>
							
                         
							
						</tbody>
					</table>
				</div>
				<div class="ib_rp_body clearfix">
					<div class="ib_rp_body_left">
						<label>消费金额(元)：</label>
						<div id="input_money"></div>
					</div>
					<div class="ib_rp_body_right">
						<a class="btn_all small green" onclick="javascript:doConsume();">确认</a>	
						<a class="btn_all small red t10" id="clearNum" onclick="javascript:clearMoney();">清除</a>	
					</div>
				</div>
				<div class="ib_rp_body_func">
					<a class="btn_all" onclick="javascript:toConsumeBackFromIndex();">回退最后一笔</a>	
					<a class="btn_all l30" onclick="javascript:srchTodayFlow();">当日交易流水</a>	
				</div>
				
				<!--页面信息提示语-->
				<div id="cardTip" class="index_alert">
					<span id="syTime"></span>秒内不进行交易操作,刷卡信息将失效
				</div>
			</div>
		</div>
	
		<div id="pwdDiv" style="display:none" >
			<div class="pt_body_list_table">
				<table border="0">
					<tbody>
						<tr>
							<td width="35%">请输入密码：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="number" id="operPwd" style="width:346px;"/>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="ib_rp_body_func">
				<a href="javascript:submitPwd(1);" class="btn_all"  style="margin-right: 20px;">确定</a>	
				<a href="javascript:cancelSubmitPwd(1);" class="btn_all">取消</a>	
			</div>
      	</div>
      	
      	
      	<div id="consumePwdDiv" style="display:none" >
      		<div class="pt_body_list_table">
				<table border="0">
					<tbody>
						<tr>
							<td width="35%">请输入密码：</td>
							<td width="65%" style="padding: 10px 0;">
								<input type="password" id="consumePwd" style="width:346px;"/>
							</td>
						</tr>
					</tbody>
				</table>
				<input type="hidden" value="" id="readPwd" />
			</div>
      	</div>
		
		<div class="id_num_box">
			<div class="id_num_box_left">
				<a data-num="1">1</a>
				<a data-num="2">2</a>
				<a data-num="3">3</a>
				<a data-num="4">4</a>
				<a data-num="5">5</a>
				<a data-num="6">6</a>
				<a data-num="7">7</a>
				<a data-num="8">8</a>
				<a data-num="9">9</a>
			</div>
			<div class="id_num_box_right">
				<a data-num="0" class="r10">0</a>
				<a data-num="." class="">.</a>
				<a data-num="" class="t10" id="colseBox">确认</a>
			</div>
		</div>
		
		<script type="text/javascript">
			$('#input_money').click(function(){
				$('.id_num_box').show();
				$('.ib_rp_body').css('top','-70px')
			});
			$('.id_num_box a').click(function(){
				//$('#input_money').focus();
				$('#input_money').html($('#input_money').html()+$(this).attr('data-num'));
			});
			
			$('#colseBox').click(function(){
				$('.id_num_box').hide();
				$('.ib_rp_body').css('top','0');
			});
			$('#clearNum').click(function(){
				$('#input_money').val("");
				//$('#input_money').focus();
			});
			
			
		</script>
	</body>
	
</html>